#include<bits/stdc++.h>
#define LP(i,a,b) for(size_t i=a;i<=b;++i)
typedef long long ll;
using namespace std;
int main() {
  size_t n;
  cin >> n;
  LP(i,0,n) {
    ll res=0;
    LP(x,0,i) LP(y,0,i) {
      res+=i*i;
      if(x-2<0) {
        res-=2;
      } else {
        if(y-1<0)res--;
        if(y+1>=i)res--;
      }
      if(x+2>=i) {
        res -=2;
      } else {
        if(y-1<0)res--;
        if(y+1>=i)res--;
      }
      if(y-2<0) {
        res-=2;
      } else {
        if(x-1<0)res--;
        if(x+1>=i)res--;
      }
      if(y+2>=i) {
        res-=2;
      } else {
        if(x-1<0)res--;
        if(x+1>=i)res--;
      }
    }
    cout << res << endl;
  }
  return 0;
}
